package top.tagao.m03_beHavioralPatterns.b_12_Iterator.social_networks;

import top.tagao.m03_beHavioralPatterns.b_12_Iterator.iterators.ProfileIterator;

/**
 * @author Viktor_Liu
 * @Date 2022/8/14 23:36
 * 类似于 集合类ArrayList 实现 Iterable
 *  SocialNetwork = Iterable
 */
public interface SocialNetwork {
    ProfileIterator createFriendsIterator(String profileEmail);

    ProfileIterator createCoworkersIterator(String profileEmail);
}
